import Vue from 'vue'
const interceptors = {
  request: (config, isSuccess) => {
    Vue.loading.show()
    if (isSuccess) {

    } else {

    }
  },
  response: (response, isSuccess) => {
    Vue.loading.hide()
    if (isSuccess) {

    } else {

    }
  }
}
export default interceptors
